var mongoose = require('mongoose');
var linksSchema = new mongoose.Schema({
    list: [
		{
			id: Number, //链接分类id
			nameZh: String, //链接标题
			nameEn: String, //自学--摄影--博客
			sort: Number, //排序
			children: [
				{
					url: String,
			
					name: String,
				},
			],
		},
	],
})

module.exports = mongoose.model('Link', linksSchema);